import axios from "@/utils/request";

export const getListStudentScore = (data) => {
    return axios({
        url: "/studentScore",
        method: "get",
        data,
    })
}
export const updateStudentScore = (data) => {
    return axios({
        url: "/studentScore",
        method: "put",
        data,
    })
}
export const deleteStudentScore = (id) => {
    return axios({
        url: `/studentScore/${id}`,
        method: "delete",

    })
}
export const addStudentScore = (data) => {
    return axios({
        url: "/studentScore",
        method: "post",
        data,
    })
}
export const batchDeleteStudentScore=(data)=>{
    return axios({
        url: "/studentScore/batchDelete",
        method: "delete",
        data
    })
}